[PATCH] CMakeLists.txt: Handle 'undefined' values returned by getconf
authorAlexandre Ghiti <alexandre.ghiti@canonical.com>
Wed, 15 Sep 2021 09:24:38 +0000 (11:24 +0200)
committerAndreas Beckmann <anbe@debian.org>
Thu, 30 Sep 2021 16:07:33 +0000 (17:07 +0100)
commit07ff664b8578eadd55625d6063f22bef3754de13
tree56c520db65571d1d64878a83d31861bac8eea16f
parent888846c50a414d29e221e88c079fb8b83786bdd2
[PATCH] CMakeLists.txt: Handle 'undefined' values returned by getconf

This allows to avoid build failures when using qemu user mode for riscv64 [1]:
the corresponding bug in qemu [2] will get fixed but handling that here allows
to keep pocl buildable by old qemu versions.

[1]: https://bugs.launchpad.net/ubuntu/+source/pocl/+bug/1942895
[2]: https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1942884

Signed-off-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
Gbp-Pq: Name 1002-CMakeLists.txt-Handle-undefined-values-returned-by-g.patch
CMakeLists.txt